package com.topscore.uke.network;

/**
 * Created by 71468 on 2017/9/12.
 * <p>
 * 接口地址
 */

public interface ServerUrl {
    String _BaseUrl_TEST = "http://47.95.42.11:80/uke-api/";

    String _BaseUrl_Test_Public = "http://172.16.34.200:8580/uke-api/";

    String _BaseUrl = _BaseUrl_Test_Public;

    //    String _Login = "api/member/info/member/login";
    String _Login = "api/user/login";

    String _GetSmsCode = "api/member/info/mobilePos/query/phone/{phone}";

    String _GroupList = "api/distribution/member/his/by/group";

    String _GetStaffInfo = "api/distribution/member/his/by/user/group/{userId}/{groupCode}";

    String _GetMemberAddressList = "api/address/query/by/{phone}";

    String _PostMemberAddress = "api/address/save/address";

    String _GetBodyDataByPhone = "api/param/query/by/{phone}";

    String _PostBodyData = "api/param/save/param";

    String _GetTeamPerformanceInMonth = "api/distribution/group/month/{dateStr}/{shareUserGroupCode}";

    String _GetTeamPerformanceInYear = "api/distribution/group/year/{dateStr}/{shareUserGroupCode}";

    String _GetTeamPerformance = "api/distribution/group/team/performance";

    String _GetTeamRank = "api/distribution/group/member/performance";

    String _GetTeamSalesRankList = "api/distribution/group/team/rank";

    String _UpdateMemberInfo = "api/member/info/update";

    /**
     * 获取访客数量，在图表中显示
     */
    String _GetVisitorCount = "api/analysis/query/visitor/count/by/range";

    /**
     * 获取访客来源及数量
     */
    String _GetVisitorSource = "api/analysis/query/visitor/source/count/by/range";

    /**
     * 销售订单我的业绩图表接口
     */
//    String _GetMyPerformanceChartData = "api/order/chart/week/sales/{shareUserId}";
    String _GetMyPerformanceChartData = "api/user/sale/uke/summary/{shareUserNo}";

    String _GetSalesRankingTop15List = "api/analysis/rank/product/top/15";

    String _GetPersonalSalesRankList = "api/order/chart/week/sales/{shareUserId}/{sortName}";

    /**
     * 会员列表
     */
    String _GetMemberList = "api/consultant/member/find/by/{role}/{userId}";
//    String _GetMemberList = "api/consultant/member/find/by/{userID}";

    String _GetMemberCount = "api/consultant/member/count/member/by/{role}/{userId}";

    String _GetMemberMobPosInfo = "api/member/info/mobilePos/query/phone/{phone}";

    String _GetMemberDetailInfo = "api/member/info/get/{id}";

    String _GetMemberTagsInfo = "api/member/tag/getTagByMemberId/{id}";

    String _SaveMemberAddress = "api/address/save/address";

    String _GetDistrictInfo = "api/area/query/area/by/{cityID}";

    String _DeleteMemberAddressItem = "api/address/delete/by/{addressID}";

    String _GetProductPage = "api/uke/product/all/category";

    String _GetStuffListData = "api/uke/product/list";

    String _GetHotWord = "api/uke/product/hot/word";

    String _GetHomePageBanner = "api/content/app/query/newest/advertisement/contents";

    String _GetAchievement = "api/consultant/member/query/achievement";

    String _GetCouponInfo = "api/coupon/get/coupons/by/{loginName}/{status}";

    String _GetActivities = "api/content/app/query/all/content/loginName";

    String _GetTeamStaffList = "api/organization/team/query/teamMember";

    String _GetUserInfo = "api/organization/mgr/get/personal/info/{role}/{loginName}";

    String _GetProductDetail = "api/uke/product/detail/{id}";

    String _GetCommentList = "api/assessment/clerk/select";

    String _GetActivitiesDetail = "api/content/app/query/content/{titleCode}/{empNum}";

    String _GetMemberConsump = "api/member/query/counsume/details";

    String _GetUserSales = "api/user/{loginName}";

    String _GetUkePerformance = "api/organization/team/query/achievement";

    String _BuyOneGetOne="api/settle/query/list/by";
}
